{"ast":null,"code":"import dayjs from 'dayjs';\nimport { noteOnce } from \"rc-util/es/warning\";\nimport weekday from 'dayjs/plugin/weekday';\nimport localeData from 'dayjs/plugin/localeData';\nimport weekOfYear from 'dayjs/plugin/weekOfYear';\nimport weekYear from 'dayjs/plugin/weekYear';\nimport advancedFormat from 'dayjs/plugin/advancedFormat';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\ndayjs.extend(customParseFormat);\ndayjs.extend(advancedFormat);\ndayjs.extend(weekday);\ndayjs.extend(localeData);\ndayjs.extend(weekOfYear);\ndayjs.extend(weekYear);\ndayjs.extend(function (o, c) {\n  // todo support Wo (ISO week)\n  var proto = c.prototype;\n  var oldFormat = proto.format;\n  proto.format = function f(formatStr) {\n    var str = (formatStr || '').replace('Wo', 'wo');\n    return oldFormat.bind(this)(str);\n  };\n});\nvar localeMap = {\n  // ar_EG:\n  // az_AZ:\n  // bg_BG:\n  bn_BD: 'bn-bd',\n  by_BY: 'be',\n  // ca_ES:\n  // cs_CZ:\n  // da_DK:\n  // de_DE:\n  // el_GR:\n  en_GB: 'en-gb',\n  en_US: 'en',\n  // es_ES:\n  // et_EE:\n  // fa_IR:\n  // fi_FI:\n  fr_BE: 'fr',\n  // todo: dayjs has no fr_BE locale, use fr at present\n  fr_CA: 'fr-ca',\n  // fr_FR:\n  // ga_IE:\n  // gl_ES:\n  // he_IL:\n  // hi_IN:\n  // hr_HR:\n  // hu_HU:\n  hy_AM: 'hy-am',\n  // id_ID:\n  // is_IS:\n  // it_IT:\n  // ja_JP:\n  // ka_GE:\n  // kk_KZ:\n  // km_KH:\n  kmr_IQ: 'ku',\n  // kn_IN:\n  // ko_KR:\n  // ku_IQ: // previous ku in antd\n  // lt_LT:\n  // lv_LV:\n  // mk_MK:\n  // ml_IN:\n  // mn_MN:\n  // ms_MY:\n  // nb_NO:\n  // ne_NP:\n  nl_BE: 'nl-be',\n  // nl_NL:\n  // pl_PL:\n  pt_BR: 'pt-br',\n  // pt_PT:\n  // ro_RO:\n  // ru_RU:\n  // sk_SK:\n  // sl_SI:\n  // sr_RS:\n  // sv_SE:\n  // ta_IN:\n  // th_TH:\n  // tr_TR:\n  // uk_UA:\n  // ur_PK:\n  // vi_VN:\n  zh_CN: 'zh-cn',\n  zh_HK: 'zh-hk',\n  zh_TW: 'zh-tw'\n};\nvar parseLocale = function parseLocale(locale) {\n  var mapLocale = localeMap[locale];\n  return mapLocale || locale.split('_')[0];\n};\nvar parseNoMatchNotice = function parseNoMatchNotice() {\n  /* istanbul ignore next */\n  noteOnce(false, 'Not match any format. Please help to fire a issue about this.');\n};\nvar generateConfig = {\n  // get\n  getNow: function getNow() {\n    return dayjs();\n  },\n  getFixedDate: function getFixedDate(string) {\n    return dayjs(string, ['YYYY-M-DD', 'YYYY-MM-DD']);\n  },\n  getEndDate: function getEndDate(date) {\n    return date.endOf('month');\n  },\n  getWeekDay: function getWeekDay(date) {\n    var clone = date.locale('en');\n    return clone.weekday() + clone.localeData().firstDayOfWeek();\n  },\n  getYear: function getYear(date) {\n    return date.year();\n  },\n  getMonth: function getMonth(date) {\n    return date.month();\n  },\n  getDate: function getDate(date) {\n    return date.date();\n  },\n  getHour: function getHour(date) {\n    return date.hour();\n  },\n  getMinute: function getMinute(date) {\n    return date.minute();\n  },\n  getSecond: function getSecond(date) {\n    return date.second();\n  },\n  // set\n  addYear: function addYear(date, diff) {\n    return date.add(diff, 'year');\n  },\n  addMonth: function addMonth(date, diff) {\n    return date.add(diff, 'month');\n  },\n  addDate: function addDate(date, diff) {\n    return date.add(diff, 'day');\n  },\n  setYear: function setYear(date, year) {\n    return date.year(year);\n  },\n  setMonth: function setMonth(date, month) {\n    return date.month(month);\n  },\n  setDate: function setDate(date, num) {\n    return date.date(num);\n  },\n  setHour: function setHour(date, hour) {\n    return date.hour(hour);\n  },\n  setMinute: function setMinute(date, minute) {\n    return date.minute(minute);\n  },\n  setSecond: function setSecond(date, second) {\n    return date.second(second);\n  },\n  // Compare\n  isAfter: function isAfter(date1, date2) {\n    return date1.isAfter(date2);\n  },\n  isValidate: function isValidate(date) {\n    return date.isValid();\n  },\n  locale: {\n    getWeekFirstDay: function getWeekFirstDay(locale) {\n      return dayjs().locale(parseLocale(locale)).localeData().firstDayOfWeek();\n    },\n    getWeekFirstDate: function getWeekFirstDate(locale, date) {\n      return date.locale(parseLocale(locale)).weekday(0);\n    },\n    getWeek: function getWeek(locale, date) {\n      return date.locale(parseLocale(locale)).week();\n    },\n    getShortWeekDays: function getShortWeekDays(locale) {\n      return dayjs().locale(parseLocale(locale)).localeData().weekdaysMin();\n    },\n    getShortMonths: function getShortMonths(locale) {\n      return dayjs().locale(parseLocale(locale)).localeData().monthsShort();\n    },\n    format: function format(locale, date, _format) {\n      return date.locale(parseLocale(locale)).format(_format);\n    },\n    parse: function parse(locale, text, formats) {\n      var localeStr = parseLocale(locale);\n      for (var i = 0; i < formats.length; i += 1) {\n        var format = formats[i];\n        var formatText = text;\n        if (format.includes('wo') || format.includes('Wo')) {\n          // parse Wo\n          var year = formatText.split('-')[0];\n          var weekStr = formatText.split('-')[1];\n          var firstWeek = dayjs(year, 'YYYY').startOf('year').locale(localeStr);\n          for (var j = 0; j <= 52; j += 1) {\n            var nextWeek = firstWeek.add(j, 'week');\n            if (nextWeek.format('Wo') === weekStr) {\n              return nextWeek;\n            }\n          }\n          parseNoMatchNotice();\n          return null;\n        }\n        var date = dayjs(formatText, format, true).locale(localeStr);\n        if (date.isValid()) {\n          return date;\n        }\n      }\n      if (text) {\n        parseNoMatchNotice();\n      }\n      return null;\n    }\n  }\n};\nexport default generateConfig;","map":{"version":3,"names":["dayjs","noteOnce","weekday","localeData","weekOfYear","weekYear","advancedFormat","customParseFormat","extend","o","c","proto","prototype","oldFormat","format","f","formatStr","str","replace","bind","localeMap","bn_BD","by_BY","en_GB","en_US","fr_BE","fr_CA","hy_AM","kmr_IQ","nl_BE","pt_BR","zh_CN","zh_HK","zh_TW","parseLocale","locale","mapLocale","split","parseNoMatchNotice","generateConfig","getNow","getFixedDate","string","getEndDate","date","endOf","getWeekDay","clone","firstDayOfWeek","getYear","year","getMonth","month","getDate","getHour","hour","getMinute","minute","getSecond","second","addYear","diff","add","addMonth","addDate","setYear","setMonth","setDate","num","setHour","setMinute","setSecond","isAfter","date1","date2","isValidate","isValid","getWeekFirstDay","getWeekFirstDate","getWeek","week","getShortWeekDays","weekdaysMin","getShortMonths","monthsShort","_format","parse","text","formats","localeStr","i","length","formatText","includes","weekStr","firstWeek","startOf","j","nextWeek"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/rc-picker/es/generate/dayjs.js"],"sourcesContent":["import dayjs from 'dayjs';\nimport { noteOnce } from \"rc-util/es/warning\";\nimport weekday from 'dayjs/plugin/weekday';\nimport localeData from 'dayjs/plugin/localeData';\nimport weekOfYear from 'dayjs/plugin/weekOfYear';\nimport weekYear from 'dayjs/plugin/weekYear';\nimport advancedFormat from 'dayjs/plugin/advancedFormat';\nimport customParseFormat from 'dayjs/plugin/customParseFormat';\ndayjs.extend(customParseFormat);\ndayjs.extend(advancedFormat);\ndayjs.extend(weekday);\ndayjs.extend(localeData);\ndayjs.extend(weekOfYear);\ndayjs.extend(weekYear);\ndayjs.extend(function (o, c) {\n  // todo support Wo (ISO week)\n  var proto = c.prototype;\n  var oldFormat = proto.format;\n\n  proto.format = function f(formatStr) {\n    var str = (formatStr || '').replace('Wo', 'wo');\n    return oldFormat.bind(this)(str);\n  };\n});\nvar localeMap = {\n  // ar_EG:\n  // az_AZ:\n  // bg_BG:\n  bn_BD: 'bn-bd',\n  by_BY: 'be',\n  // ca_ES:\n  // cs_CZ:\n  // da_DK:\n  // de_DE:\n  // el_GR:\n  en_GB: 'en-gb',\n  en_US: 'en',\n  // es_ES:\n  // et_EE:\n  // fa_IR:\n  // fi_FI:\n  fr_BE: 'fr',\n  // todo: dayjs has no fr_BE locale, use fr at present\n  fr_CA: 'fr-ca',\n  // fr_FR:\n  // ga_IE:\n  // gl_ES:\n  // he_IL:\n  // hi_IN:\n  // hr_HR:\n  // hu_HU:\n  hy_AM: 'hy-am',\n  // id_ID:\n  // is_IS:\n  // it_IT:\n  // ja_JP:\n  // ka_GE:\n  // kk_KZ:\n  // km_KH:\n  kmr_IQ: 'ku',\n  // kn_IN:\n  // ko_KR:\n  // ku_IQ: // previous ku in antd\n  // lt_LT:\n  // lv_LV:\n  // mk_MK:\n  // ml_IN:\n  // mn_MN:\n  // ms_MY:\n  // nb_NO:\n  // ne_NP:\n  nl_BE: 'nl-be',\n  // nl_NL:\n  // pl_PL:\n  pt_BR: 'pt-br',\n  // pt_PT:\n  // ro_RO:\n  // ru_RU:\n  // sk_SK:\n  // sl_SI:\n  // sr_RS:\n  // sv_SE:\n  // ta_IN:\n  // th_TH:\n  // tr_TR:\n  // uk_UA:\n  // ur_PK:\n  // vi_VN:\n  zh_CN: 'zh-cn',\n  zh_HK: 'zh-hk',\n  zh_TW: 'zh-tw'\n};\n\nvar parseLocale = function parseLocale(locale) {\n  var mapLocale = localeMap[locale];\n  return mapLocale || locale.split('_')[0];\n};\n\nvar parseNoMatchNotice = function parseNoMatchNotice() {\n  /* istanbul ignore next */\n  noteOnce(false, 'Not match any format. Please help to fire a issue about this.');\n};\n\nvar generateConfig = {\n  // get\n  getNow: function getNow() {\n    return dayjs();\n  },\n  getFixedDate: function getFixedDate(string) {\n    return dayjs(string, ['YYYY-M-DD', 'YYYY-MM-DD']);\n  },\n  getEndDate: function getEndDate(date) {\n    return date.endOf('month');\n  },\n  getWeekDay: function getWeekDay(date) {\n    var clone = date.locale('en');\n    return clone.weekday() + clone.localeData().firstDayOfWeek();\n  },\n  getYear: function getYear(date) {\n    return date.year();\n  },\n  getMonth: function getMonth(date) {\n    return date.month();\n  },\n  getDate: function getDate(date) {\n    return date.date();\n  },\n  getHour: function getHour(date) {\n    return date.hour();\n  },\n  getMinute: function getMinute(date) {\n    return date.minute();\n  },\n  getSecond: function getSecond(date) {\n    return date.second();\n  },\n  // set\n  addYear: function addYear(date, diff) {\n    return date.add(diff, 'year');\n  },\n  addMonth: function addMonth(date, diff) {\n    return date.add(diff, 'month');\n  },\n  addDate: function addDate(date, diff) {\n    return date.add(diff, 'day');\n  },\n  setYear: function setYear(date, year) {\n    return date.year(year);\n  },\n  setMonth: function setMonth(date, month) {\n    return date.month(month);\n  },\n  setDate: function setDate(date, num) {\n    return date.date(num);\n  },\n  setHour: function setHour(date, hour) {\n    return date.hour(hour);\n  },\n  setMinute: function setMinute(date, minute) {\n    return date.minute(minute);\n  },\n  setSecond: function setSecond(date, second) {\n    return date.second(second);\n  },\n  // Compare\n  isAfter: function isAfter(date1, date2) {\n    return date1.isAfter(date2);\n  },\n  isValidate: function isValidate(date) {\n    return date.isValid();\n  },\n  locale: {\n    getWeekFirstDay: function getWeekFirstDay(locale) {\n      return dayjs().locale(parseLocale(locale)).localeData().firstDayOfWeek();\n    },\n    getWeekFirstDate: function getWeekFirstDate(locale, date) {\n      return date.locale(parseLocale(locale)).weekday(0);\n    },\n    getWeek: function getWeek(locale, date) {\n      return date.locale(parseLocale(locale)).week();\n    },\n    getShortWeekDays: function getShortWeekDays(locale) {\n      return dayjs().locale(parseLocale(locale)).localeData().weekdaysMin();\n    },\n    getShortMonths: function getShortMonths(locale) {\n      return dayjs().locale(parseLocale(locale)).localeData().monthsShort();\n    },\n    format: function format(locale, date, _format) {\n      return date.locale(parseLocale(locale)).format(_format);\n    },\n    parse: function parse(locale, text, formats) {\n      var localeStr = parseLocale(locale);\n\n      for (var i = 0; i < formats.length; i += 1) {\n        var format = formats[i];\n        var formatText = text;\n\n        if (format.includes('wo') || format.includes('Wo')) {\n          // parse Wo\n          var year = formatText.split('-')[0];\n          var weekStr = formatText.split('-')[1];\n          var firstWeek = dayjs(year, 'YYYY').startOf('year').locale(localeStr);\n\n          for (var j = 0; j <= 52; j += 1) {\n            var nextWeek = firstWeek.add(j, 'week');\n\n            if (nextWeek.format('Wo') === weekStr) {\n              return nextWeek;\n            }\n          }\n\n          parseNoMatchNotice();\n          return null;\n        }\n\n        var date = dayjs(formatText, format, true).locale(localeStr);\n\n        if (date.isValid()) {\n          return date;\n        }\n      }\n\n      if (text) {\n        parseNoMatchNotice();\n      }\n\n      return null;\n    }\n  }\n};\nexport default generateConfig;"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,OAAOC,OAAO,MAAM,sBAAsB;AAC1C,OAAOC,UAAU,MAAM,yBAAyB;AAChD,OAAOC,UAAU,MAAM,yBAAyB;AAChD,OAAOC,QAAQ,MAAM,uBAAuB;AAC5C,OAAOC,cAAc,MAAM,6BAA6B;AACxD,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9DP,KAAK,CAACQ,MAAM,CAACD,iBAAiB,CAAC;AAC/BP,KAAK,CAACQ,MAAM,CAACF,cAAc,CAAC;AAC5BN,KAAK,CAACQ,MAAM,CAACN,OAAO,CAAC;AACrBF,KAAK,CAACQ,MAAM,CAACL,UAAU,CAAC;AACxBH,KAAK,CAACQ,MAAM,CAACJ,UAAU,CAAC;AACxBJ,KAAK,CAACQ,MAAM,CAACH,QAAQ,CAAC;AACtBL,KAAK,CAACQ,MAAM,CAAC,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAC3B;EACA,IAAIC,KAAK,GAAGD,CAAC,CAACE,SAAS;EACvB,IAAIC,SAAS,GAAGF,KAAK,CAACG,MAAM;EAE5BH,KAAK,CAACG,MAAM,GAAG,SAASC,CAAC,CAACC,SAAS,EAAE;IACnC,IAAIC,GAAG,GAAG,CAACD,SAAS,IAAI,EAAE,EAAEE,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;IAC/C,OAAOL,SAAS,CAACM,IAAI,CAAC,IAAI,CAAC,CAACF,GAAG,CAAC;EAClC,CAAC;AACH,CAAC,CAAC;AACF,IAAIG,SAAS,GAAG;EACd;EACA;EACA;EACAC,KAAK,EAAE,OAAO;EACdC,KAAK,EAAE,IAAI;EACX;EACA;EACA;EACA;EACA;EACA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